package com.fdq.dianping.service;

import com.fdq.dianping.entity.Result;
import com.fdq.dianping.entity.VoucherOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fdq.dianping.entity.dto.UserDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fdq
 * @since 2024-12-29
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    Result seckillVoucher(Long voucherId);

    Result createSeckillVoucherOrder(VoucherOrder voucherOrder);

    Result refundVoucher(Long voucherOrderId);

    Result createVoucherOrder(Long voucherId);

    Result payVoucher(Long voucherOrderId);

    Result useVoucher(Long voucherOrderId);
}
